All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Unarchiver

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Coder
                   |
                   +----com.apple.alpha.core.Unarchiver

public class Unarchiver
extends Coder
This class wraps the Objective-C class NSUnarchiver.


Constructor Index

 o Unarchiver()
This default constructor is equivalent to Objective-C's [[NSUnarchiver alloc] init].
 o Unarchiver(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o classNameForArchiveClassName(String)
A wrapper for the - classNameDecodedForArchiveClassName: Objective-C instance method.
 o isAtEnd()
A wrapper for the - isAtEnd Objective-C instance method.
 o replaceObject(Object, Object)
A wrapper for the - replaceObject:withObject: Objective-C instance method.
 o setClassNameForArchiveClassName(String, String)
A wrapper for the - decodeClassName:asClassName: Objective-C instance method.
 o systemVersion()
A wrapper for the - systemVersion Objective-C instance method.
 o unarchiveObjectWithData(Data)
A wrapper for the + unarchiveObjectWithData: Objective-C class method.
 o unarchiveObjectWithFile(String)
A wrapper for the + unarchiveObjectWithFile: Objective-C class method.

Constructors

 o Unarchiver
 protected Unarchiver(boolean shouldAllocate,
                      int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Unarchiver
 public Unarchiver()
This default constructor is equivalent to Objective-C's [[NSUnarchiver alloc] init].

Methods

 o isAtEnd
 public native boolean isAtEnd()
A wrapper for the - isAtEnd Objective-C instance method.

 o systemVersion
 public native int systemVersion()
A wrapper for the - systemVersion Objective-C instance method.

Overrides:
systemVersion in class Coder
 o unarchiveObjectWithData
 public static native Object unarchiveObjectWithData(Data data)
A wrapper for the + unarchiveObjectWithData: Objective-C class method.

 o unarchiveObjectWithFile
 public static native Object unarchiveObjectWithFile(String path)
A wrapper for the + unarchiveObjectWithFile: Objective-C class method.

 o setClassNameForArchiveClassName
 public native void setClassNameForArchiveClassName(String inArchiveName,
                                                    String trueName)
A wrapper for the - decodeClassName:asClassName: Objective-C instance method.

 o classNameForArchiveClassName
 public native String classNameForArchiveClassName(String inArchiveName)
A wrapper for the - classNameDecodedForArchiveClassName: Objective-C instance method.

 o replaceObject
 public native void replaceObject(Object object,
                                  Object newObject)
A wrapper for the - replaceObject:withObject: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index